package cn.iocoder.yudao.module.ems.controller.admin.spares.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

@ApiModel("管理后台 - 备品备件 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SparesRespVO extends SparesBaseVO {

    @ApiModelProperty(value = "备品备件id", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required = true)
    private Date updateTime;

    private Store store;

    @ApiModel("仓库")
    @Data
    public static class Store {
        @ApiModelProperty(value = "仓库编号", required = true, example = "1")
        private Long id;

        @ApiModelProperty(value = "仓库名称", required = true, example = "仓库1")
        private String name;
    }
}
